package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: chen
 * @Date:  2025/9/1 20:40
 * @Description: 
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_recourd")
public class Recourd implements Serializable {
    @TableId(value = "recourd_id", type = IdType.AUTO)
    private Integer recourdId;

    /**
     * 保修单的ID
     */
    @TableField(value = "repais_id")
    private Integer repaisId;

    /**
     * 0待处理1已处理2派单3转单
     */
    @TableField(value = "repais_status")
    private Integer repaisStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 报修人
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 承修人
     */
    @TableField(value = "repais_user_id")
    private Integer repaisUserId;
    @TableField(exist = false)
    private String repaisUsername;
    private static final long serialVersionUID = 1L;
    /**
     * 报修人名称
     */
    @TableField(exist = false)
    private String username;
}